package cn.bobmao.exts.example.configure;

import cn.bobmao.exts.example.configure.properties.RedcatDbProperties;
import org.modelmapper.ModelMapper;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(RedcatDbProperties.class)
public class RedcatConfigure {

    @Bean
    ModelMapper modelMapper() {
        return new ModelMapper();
    }
}
